package com.lam.dormitory.service.impl;

import com.lam.dormitory.entity.Admin;
import com.lam.dormitory.mapper.AdminMapper;
import com.lam.dormitory.service.IAdminService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lam.dormitory.vo.AdminVo;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author lam
 * @since 2019-12-26
 */
@Service
public class AdminServiceImpl extends ServiceImpl<AdminMapper, Admin> implements IAdminService {

    @Override
    public List<AdminVo> selectByAdmin(Admin admin) {
        return this.baseMapper.selectByAdmin(admin);
    }
}
